package yth.api.train.service.impl;

import java.math.BigDecimal;
import java.util.List;
 
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import yth.api.train.dao.TrainCustomerMapper;
import yth.api.train.entity.TrainCustomer;
import yth.api.train.service.ITrainCustomerService;

@Service
public class TrainCustomerServiceImpl implements ITrainCustomerService{

	@Autowired
	private TrainCustomerMapper trainCustomerMapper;
	
	@Override
	public int deleteByPrimaryKey(Integer id, BigDecimal bigDecimal) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(TrainCustomer record, BigDecimal bigDecimal) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insertSelective(TrainCustomer record, BigDecimal bigDecimal) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public TrainCustomer selectByPrimaryKey(Integer id, BigDecimal bigDecimal) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int updateByPrimaryKeySelective(TrainCustomer record, BigDecimal bigDecimal) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<TrainCustomer> selectAll(BigDecimal bigDecimal) {

		return trainCustomerMapper.selectAll();
	}

	@Override
	public int updateInitialsById(TrainCustomer record, BigDecimal bigDecimal) {
		return trainCustomerMapper.updateInitialsById(record);
	}

	
}
